<table width="100%" align="center" height="100%">
  <tr>
    <% @sideffects_list.each do |sideffect| %>
      <td valign="top" width=<%="#{100.0 / session[:drugs].length - 1}%"%>>
        <div id = <%= "drug" + sideffect[:drug].id.to_s + "_header"%> >
          <%= render(:partial => "show_drug_header", :locals => {:sideffect => sideffect}) %>
        </div>
        <div id = <%= "drug" + sideffect[:drug].id.to_s + "_sideffects"%> >
          <%= render(:partial => "show_drug_sideffects", :locals => {:sideffect => sideffect}) %>
        </div>
      </td>
    <% end %>
  </tr>
</table>
